Dear Statalist community,
I would like to get your help in figuring out how to calculate resource slack variable based on factor scores calculated through principal component analysis.
For this, I am following a paper from Fang et al. 2008, that says "we use factor scores, calculate through principal components analysis from two financial ratios—(1) retained earnings to total assets and (2) working capital to total assets—to assess resource slack".
For now I have gone just for average between 2 ratios, but suspect that "principal component analysis" should be done somehow differently in Stata. Would appreciate a hint here how to do that.
Thank you!
I would like to get your help in figuring out how to calculate resource slack variable based on factor scores calculated through principal component analysis.
For this, I am following a paper from Fang et al. 2008, that says "we use factor scores, calculate through principal components analysis from two financial ratios—(1) retained earnings to total assets and (2) working capital to total assets—to assess resource slack".
For now I have gone just for average between 2 ratios, but suspect that "principal component analysis" should be done somehow differently in Stata. Would appreciate a hint here how to do that.
Code:
gen rslack1 = re/at gen rslack2 = wcap/at gen rslack = (rslack1+rslack2)/2
Comment